# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from collections import OrderedDict

from .single_char_pair import SingleCharPair

class Subscript(SingleCharPair):
    """
    Subscript
    下标
    """
    def __init__(self, paragraph, paragraph_index):
        super(Subscript, self).__init__(paragraph, '~', 'subscript', paragraph_index)

    def _toHtml(self, content):
        return '<sub class="rmk-subscript">' + content + '</sub>'